import vue from 'vue'
import vuex from 'vuex'
import permission from './modules/permisson'
import getters from './getters'
import user from './modules/user'
import app from './modules/app'

vue.use(vuex)

const store = new vuex.Store({
    modules:{
        permission,
        user,
        app
    },
    getters
})

export default store